package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.SaasTaskAwardDetails;
import com.sc.nft.entity.vo.SaasTaskAwardDetailsVO;
import com.sc.nft.entity.vo.SaasUserTaskIdGainAwardVO;
import org.apache.ibatis.annotations.Param;
import com.sc.nft.entity.SaasTaskAwardDetails;
import java.util.List;
/**
 * 任务奖励详情表(SaasTaskAwardDetails)表数据库访问层
 *
 * @author 王伟成
 * @since 2024-01-11 15:08:24
 */
public interface SaasTaskAwardDetailsMapper extends BaseMapper<SaasTaskAwardDetails> {

    List<SaasTaskAwardDetailsVO> getByTaskIdLeftEquity(@Param("id") Long id, @Param("awardId") Long awardId, @Param("collectionId") Long collectionId);
    List<SaasUserTaskIdGainAwardVO> getByUserTaskIdGainAward(@Param("saasTaskId") Long saasTaskId, @Param("taskAwardId") Long taskAwardId);
}
